package com.qike.duola.dto;

import com.qike.duola.config.BaseObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * @Author: Eric.zhou
 * @Date: 2020/9/3 18:21
 */
@ApiModel("新建合同模型")
public class ContractAddDto extends BaseObject {
    @ApiModelProperty(value = "客户id",required = true)
    private Integer customerId;
    @ApiModelProperty(value = "工程id",required = true)
    private Integer  projectId;
    @ApiModelProperty(value = "联系人",required = true)
    private String  name;
    @ApiModelProperty(value = "联系方式",required = true)
    private String  phone;
    @ApiModelProperty(value = "合同标题",required = true)
    private String  title;
    @ApiModelProperty(value = "合同编号",required = true)
    private String  contractNum;
    @ApiModelProperty(value = "销售id",required = true)
    private Long  saleId;
    @ApiModelProperty(value = "开始时间 时间戳",required = true)
    private Long  startTime;
    @ApiModelProperty(value = "结束时间 时间戳",required = true)
    private Long  endTime;
    @ApiModelProperty(value = "合同等级  ABCDE",required = true)
    private String  level;
    @ApiModelProperty(value = "合同类型 0临时合同 1正式合同 2 补充协议'",required = true)
    private Integer  contractType;
    @ApiModelProperty(value = "报价单id",required = true)
    private Integer  quoteId;
    @ApiModelProperty(value = "报价单结算方式id",required = true)
    private Integer  payId;
    @ApiModelProperty(value = "合同金额",required = true)
    private BigDecimal totalPrice;
    @ApiModelProperty(value = "预计方量",required = true)
    private Double totalVolume;
    @ApiModelProperty(value = "合同附件 ,分割",required = true)
    private String photo;
    @ApiModelProperty(value = "备注",required = true)
    private String remark;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContractNum() {
        return contractNum;
    }

    public void setContractNum(String contractNum) {
        this.contractNum = contractNum;
    }

    public Long getSaleId() {
        return saleId;
    }

    public void setSaleId(Long saleId) {
        this.saleId = saleId;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public Integer getContractType() {
        return contractType;
    }

    public void setContractType(Integer contractType) {
        this.contractType = contractType;
    }

    public Integer getQuoteId() {
        return quoteId;
    }

    public void setQuoteId(Integer quoteId) {
        this.quoteId = quoteId;
    }

    public Integer getPayId() {
        return payId;
    }

    public void setPayId(Integer payId) {
        this.payId = payId;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Double getTotalVolume() {
        return totalVolume;
    }

    public void setTotalVolume(Double totalVolume) {
        this.totalVolume = totalVolume;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }
}
